<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=2.0">
    {#if $gotourl#}
        <meta http-equiv="refresh" content="1;url={#$gotourl#}">
    {#/if#}

    <title>加载中...</title>
    <style type="text/css">
        body {
            margin: 0;
        }
        .box {
            position:absolute;
            top:0;
            left:0;
            width:100%;
            height:100%;
        }
        .box .bg {
            position:absolute;
            top:0;
            left:0;
            width:100%;
            height:100%;
            background:rgba(0, 0, 0, 0.1);
        }
        .box .tis {
            position:absolute;
            top:50%;
            left:50%;
            width: 80px;
            height: 80px;
            margin-top: -70px;
            margin-left: -40px;
            background-image: url('');
            background-size:100% 100%;
            text-indent: -10000px;
            overflow:hidden;
        }
    </style>
    <script type="text/javascript">
        window.onload = function(){
            setTimeout(function(){ gourl(); }, 1000);
        };
        function gourl() {
            {#if $gotourl#}
            window.location.href = '{#$gotourl#}';
            {#else#}
            window.location.reload();
            {#/if#}
        }
    </script>
</head>

<body>
<div class="box">
    <div class="bg"></div>
    <div class="tis" onclick="gourl();">加载中...</div>
</div>
</body>
</html>
